
import java.io.FileWriter;

/**
 *
 * @author frederick
 */
public class outFiles {

    public void finalM(char m[][], int ren, int col) {
        try {
            FileWriter fw = new FileWriter("res.txt");

            for (int i = 0; i < ren; i++) {
                fw.write("\n");
                for (int j = 0; j < col; j++) {
                    fw.write(m[i][j]);
                }
            }//test
            fw.close();
        } catch (Exception e) {
        }
    }
}
